#pragma once
#include <wx/wx.h>
#include <IFC.h>
#include "GameRectangle.h"

class DrawableObject
{
protected:
	bool _invalidEnglobant;
	GameRectangle *_englobant;
	CImmEffect *_effect;
	char *_couleur;

protected:
	virtual void CalculerEnglobant() = 0;
public:
	DrawableObject(char *couleur = "white");
	virtual void Paint(wxDC &dc);
	virtual GameRectangle & Englobant();
	virtual ~DrawableObject();
};

